<?php

namespace Erp\ErpBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Erp\ErpBundle\Entity\Qcm_Reponse
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Erp\ErpBundle\Entity\Qcm_ReponseRepository")
 */
class Qcm_Reponse
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var integer $id_qcm_question
     *
     * @ORM\Column(name="id_qcm_question", type="integer")
     */
    private $id_qcm_question;
	
    /**
     * @var boolean $is_good
     *
     * @ORM\Column(name="is_good", type="boolean")
     */
    private $is_good;
	
    /**
     * @var string $reponse
     *
     * @ORM\Column(name="reponse", type="string", length=255)
     */
    private $reponse;

	public function __construct($reponse = '', $id_qcm_question = null, $is_good = null)
	{
		$this->id_qcm_question = $id_qcm_question;
		$this->setReponse($reponse);
		$this->setIs_good($is_good);
	}
	
    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Get id_qcm_question
     *
     * @return integer 
     */
    public function getId_qcm_question()
    {
        return $this->id_qcm_question;
    }
	
    /**
     * Set reponse
     *
     * @param string $reponse
     */
    public function setReponse($reponse)
    {
        $this->reponse = $reponse;
    }

    /**
     * Get reponse
     *
     * @return string 
     */
    public function getReponse()
    {
        return $this->reponse;
    }
	
    /**
     * Set is_good
     *
     * @param boolean $is_good
     */
    public function setIs_good($is_good)
    {
        $this->is_good = $is_good;
    }

    /**
     * Get is_good
     *
     * @return boolean 
     */
    public function getIs_good()
    {
        return $this->is_good;
    }
}